package com.woniuxy.order.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 收货记录表
 * </p>
 *
 * @author author
 * @since 2025-05-13
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("recycle_receive")
@ApiModel(value="RecycleReceive对象", description="收货记录表")
public class RecycleReceive implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键 ID")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "废品类型 ID")
    private Integer wasteTypeId;

    @ApiModelProperty(value = "回收重量")
    private Double quantity;

    @ApiModelProperty(value = "重量单位（如 kg/吨/个）")
    private String quantityUnit;

    @ApiModelProperty(value = "零时工 ID")
    private Integer receiverId;

    @ApiModelProperty(value = "临时工姓名")
    private String receiverName;

    @ApiModelProperty(value = "收货时间")
    private LocalDateTime receiveTime;

    @ApiModelProperty(value = "验收状态：0=待验收，1=验收通过，2=验收不通过")
    private Integer verifyStatus;

    @ApiModelProperty(value = "验收备注")
    private String verifyRemark;

    @ApiModelProperty(value = "验收时间")
    private LocalDateTime verifyTime;

    @ApiModelProperty(value = "管理员 ID")
    private Integer verifierId;

    @ApiModelProperty(value = "审核确认价格")
    private Double confirmedPrice;

    @ApiModelProperty(value = "逻辑删除 0=未删除 1=已删除")
    private Integer isDeleted;

    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "更新时间")
    private LocalDateTime updateTime;

    @ApiModelProperty(value = "订单编号")
    private Integer orderNum;


}
